<import type="css" file="Css.user-setting"/>
<import type="js" file="Js.jquery-s"/>
<import type="js" file="Js.main"/>
<!--<import type="js" file="Js.city"/>-->
<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="aw-user-setting">
					<div class="tabbable">
						<ul class="nav nav-tabs aw-nav-tabs active">
							<li><a href="{:U('Index/profile/passphrases')}">安全设置</a></li>
                            <li><a href="{:U('Index/profile/touxiang')}">头像设置</a></li>
							<li class="active"><a href="{:U('Index/profile/index')}">基本资料</a></li>
							
							<h2><i class="icon icon-setting"></i> 用户设置</h2>
						</ul>
					</div>
					
					<div class="tab-content clearfix">
<!-- 基本信息 -->
<div class="aw-mod">
	<form id="setting_form" method="post" action="">
	<div class="mod-body">
		<div class="aw-mod mod-base">
			<div class="mod-head">
				<h3>基本信息</h3>
			</div>

			<div class="mod-body">
				<dl>
					<dt>账号:</dt>
					<dd>{$ary['mail']}</dd>
				</dl>
				<dl>
					<dt>真实姓名:</dt>
					<dd> {$ary['user_name']}</dd>
				</dl><dl>
					<dt>性别:</dt>
					<dd>
						<label>
							<input name="sex" id="xb" value="男" type="radio" <if condition="$ary['xb'] eq '男'">checked="checked" </if> >男						</label>
						<label>
							<input name="sex" id="xb" value="女" type="radio" <if condition="$ary['xb'] eq '女'">checked="checked" </if>> 女						</label>
						<label>
							<input name="sex" id="xb" value="保密" type="radio" <if condition="$ary['xb'] eq '保密'">checked="checked" </if>> 保密						</label>
					</dd>
				</dl>
				<dl>
					<dt>生日:</dt>
					<dd>
						<select name="nian">
							<option value=""></option>
                            <for start="1900" end="2017">
                                <if condition="$boy[0] eq $i">
                                    <option value="{$i}" selected="selected" >{$i}</option>
                                    <else/>
                                    <option value="{$i}">{$i}</option>
                                </if>
                            </for>
                        </select>
						年<select name="yue">
							<option value=""></option>
                            <for start="1" end="13">
                                <if condition="$boy[1] eq $i">
                                    <option value="{$i}" selected="selected" >{$i}</option>
                                    <else/>
                                    <option value="{$i}">{$i}</option>
                                </if>
                            </for>
                    </select>
                        月<select name="ri">
							<option value=""></option>
                        <for start="1" end="32">
                            <if condition="$boy[2] eq $i">
                                <option value="{$i}" selected="selected" >{$i}</option>
                                <else/>
                                <option value="{$i}">{$i}</option>
                            </if>
                        </for>						</select>
						日					</dd>
				</dl>
				<dl>
					<dt><label>现居:</label></dt>
					<dd>
                            <select id="province" name="dz_sf" onchange="git()">
                                <option value="默认选择">选择省份</option>
                                <option value="{$ary['dz_sf']}" selected>{$ary['dz_sf']}</option>
                                <option value="北京市">北京市 </option>
                                <option value="广东省">广东省 </option>
                                <option value="上海市">上海市 </option>
                                <option value="天津市">天津市 </option>
                                <option value="重庆市">重庆市 </option>
                                <option>辽宁省</option>
                                <option>江苏省</option>
                                <option>湖北省</option>
                                <option>四川省</option>
                                <option>陕西省</option>
                                <option>河北省</option>
                                <option>山西省</option>
                                <option>河南省</option>
                                <option>吉林省</option>
                                <option>黑龙江</option>
                                <option>内蒙古</option>
                                <option>山东省</option>
                                <option>安徽省</option>
                                <option>浙江省</option>
                                <option>福建省</option>
                                <option>湖南省</option>
                                <option>广西省</option>
                                <option>江西省</option>
                                <option>贵州省</option>
                                <option>云南省</option>
                                <option>西藏</option>
                                <option>海南省</option>
                                <option>甘肃省</option>
                                <option>宁夏</option>
                                <option>青海省</option>
                                <option>新疆</option>
                                <option>香港</option>
                                <option>澳门</option>
                                <option>台湾</option>
                                <option>海外</option>
                                <option>其他</option>			</select>
                        <select id="city" name="dz_cs">
                        <option value="默认选择">市</option>
                        <option value="{$ary['dz_cs']}" selected>{$ary['dz_cs']}</option>
                    </select>
					</dd>
				</dl>
				<dl>
					<dt><label>职业:</label></dt>
					<dd>
						<select name="zy" id="zy" onclick="gg()">
                            <IF condition="$ary['zy'] eq ''">
                                <option value=""></option>
                                <else/>
                                <option value="{$ary['zy']}">{$ary['zy']}</option>
                            </IF>

							<option value="站长">站长</option>
							<option value="产品经理">产品经理</option>
							<option value="视觉设计师">视觉设计师</option>
							<option value="程序员">程序员</option>
							<option value="前端工程师">前端工程师</option>
							<option value="风险投资者">风险投资者</option>
							<option value="职业经理人">职业经理人</option>
							<option value="运营人员">运营人员</option>
							<option value="人力资源">人力资源</option>
							<option value="运维人员">运维人员</option>
							<option value="创业者">创业者</option>
							<option value="媒体">媒体</option>
							<option value="天使">天使</option>
							<option value="学生">学生</option>
							<option value="其他">其他</option>						</select>
					</dd>
				</dl>
				<dl>
					<dt><label>介绍:</label></dt>
					<dd class="introduce"><input class="form-control" name="js" maxlength="128" type="text" value="{$ary['js']}"></dd>
			</dl>

			</div>
		</div>
		<!-- end 基本信息 -->

		<!-- 联系方式 -->
		<div class="aw-mod mod-contact">
			<div class="mod-head">
				<h3>联系方式</h3>
			</div>
			<div class="mod-body clearfix">
				<ul>
					<li>
						<label for="input-qq">QQ:</label>
					    <input class="form-control" type="text" id="input-qq" name="qq" value="{$ary['qq']}">
					</li>
					<li>
						<label for="input-mobile">手机号码:</label>
					    <input class="form-control" type="text" id="input-mobile" name="dh" value="{$ary['dh']}">
					</li>
					<li>
						<label for="input-common-email">常用邮箱:</label>
					    <input class="form-control" type="text" id="input-common-email" name="cymail" value="{$ary['cymail']}">
					</li>
					<li>
						<label for="input-homepage">网站:</label>
					    <input class="form-control" type="text" id="input-homepage" name="wz" value="{$ary['wz']}">
					</li>
				</ul>
			</div>
		</div>
		<!-- end 联系方式 -->

	</div>

	<div class="mod-footer clearfix">
		<!--< href="javascript:;" class="btn btn-large btn-success pull-right" onclick="AWS.ajax_post($(&#39;#setting_form&#39;));">保存</>-->
	<button class="btn btn-large btn-success pull-right" type="submit">保存</button>
	</div>
    </form>
</div>

<script type="text/javascript">
$(document).ready(function () {
	$('.select_area').LocationSelect({
        labels: ["请选择省份或直辖市", "请选择城市"],
        elements: document.getElementsByTagName("select"),
        detector: function () {
            this.select(["", ""]);
        },
		dataUrl: G_BASE_URL.replace('/?', '') + '/static/js/areas.js'
    });

    var fileUpload = new FileUpload('avatar', $('#avatar_uploader'), $('#avatar_src'), G_BASE_URL + '/account/ajax/avatar_upload/', {'loading_status' : '#avatar_uploading_status'});
});


</script>

<script type="text/javascript" src="./images/setting.js"></script>

					</div>
				</div>
			</div>
		</div>
	</div>
</div><div class="aw-footer-wrap">
	<div class="aw-footer">
		Copyright © 2016<span class="hidden-xs"> - 粤ICP备14054802, All Rights Reserved</span>

		<span class="hidden-xs">Powered By <a href="http://www.wecenter.com/?copyright" target="blank">WeCenter 3.1.7</a></span>

			</div>
</div>

<a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});" style="display: none;"><i class="icon icon-up"></i></a>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F6d30c149d6f00fa3f34dc482f264a080' type='text/javascript'%3E%3C/script%3E"));
</script><script src="./js/h.js" type="text/javascript"></script>

<!-- DO NOT REMOVE -->
<div id="aw-ajax-box" class="aw-ajax-box"></div>

<div style="display:none;" id="__crond"><img src="./images/1453180583" width="1" height="1"></div>

<!-- Escape time: 0.037697792053223 --><!-- / DO NOT REMOVE -->



</body></html>